/*****************************************************************
|
|    AP4 - pasp Atom
|
|    Copyright 2011 Aleksoid1978
|
 ****************************************************************/

/*----------------------------------------------------------------------
|       includes
+---------------------------------------------------------------------*/

#include "Ap4.h"
#include "Ap4PaspAtom.h"

/*----------------------------------------------------------------------
|       AP4_PaspAtom::AP4_PaspAtom
+---------------------------------------------------------------------*/

AP4_PaspAtom::AP4_PaspAtom(AP4_Size         size,
                           AP4_ByteStream&  stream)
    : AP4_Atom(AP4_ATOM_TYPE_PASP)
    , m_hSpacing(0)
    , m_vSpacing(0)
{
    stream.ReadUI32(m_hSpacing);
    stream.ReadUI32(m_vSpacing);
}
